If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > can't requery subform

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 02-01-04, 07:28
sztomi sztomi is offline
Registered User
 
Join Date: Jan 2004
Location: Slovakia
Posts: 32
Quote:
Originally posted by Norberto
I have Access 97 not Access 2000, then i can't read that file.
ok, i changed the decimal filed types to double and then converted the db to access 97 format
Attached Files
File Type: zip db2.zip (40.2 KB, 6 views)
__________________
(sz)Tomi
Reply With Quote
  #17 (permalink)  
Old 02-01-04, 09:11
Norberto Norberto is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 465
I don't have the Round Function give me two expresion for this two field in the query:
m: Conmutador([pocet]>0 Y [plus]>0;Round(([druhy_rozmer]/100*[pocet]+[plus]/100)*[prvy_rozmer]/100*[dlzka];3);[pocet]>0 Y ([plus]=0 O EsNulo([plus]));Round([prvy_rozmer]/100*[druhy_rozmer]/100*[dlzka]*[pocet];3);([pocet]=0 O EsNulo([pocet])) Y [plus]>0;Round([prvy_rozmer]/100*[plus]/100*[dlzka];3))

c: Conmutador([pocet]>0 Y [plus]>0;Round(Round(([druhy_rozmer]/100*[pocet]+[plus]/100)*[prvy_rozmer]/100*[dlzka];3)*[jedn_cena];1);[pocet]>0 Y ([plus]=0 O EsNulo([plus]));Round(Round([prvy_rozmer]/100*[druhy_rozmer]/100*[dlzka]*[pocet];3)*[jedn_cena];1);([pocet]=0 O EsNulo([pocet])) Y [plus]>0;Round(Round([prvy_rozmer]/100*[plus]/100*[dlzka];3)*[jedn_cena];1))
__________________
Saludos
Norberto
Reply With Quote
  #18 (permalink)  
Old 02-01-04, 09:23
sztomi sztomi is offline
Registered User
 
Join Date: Jan 2004
Location: Slovakia
Posts: 32
Quote:
Originally posted by Norberto
I don't have the Round Function give me two expresion for this two field in the query:
m: Conmutador([pocet]>0 Y [plus]>0;Round(([druhy_rozmer]/100*[pocet]+[plus]/100)*[prvy_rozmer]/100*[dlzka];3);[pocet]>0 Y ([plus]=0 O EsNulo([plus]));Round([prvy_rozmer]/100*[druhy_rozmer]/100*[dlzka]*[pocet];3);([pocet]=0 O EsNulo([pocet])) Y [plus]>0;Round([prvy_rozmer]/100*[plus]/100*[dlzka];3))

c: Conmutador([pocet]>0 Y [plus]>0;Round(Round(([druhy_rozmer]/100*[pocet]+[plus]/100)*[prvy_rozmer]/100*[dlzka];3)*[jedn_cena];1);[pocet]>0 Y ([plus]=0 O EsNulo([plus]));Round(Round([prvy_rozmer]/100*[druhy_rozmer]/100*[dlzka]*[pocet];3)*[jedn_cena];1);([pocet]=0 O EsNulo([pocet])) Y [plus]>0;Round(Round([prvy_rozmer]/100*[plus]/100*[dlzka];3)*[jedn_cena];1))
Ok, let's simplify: these two fields are now removed from the query and from the subform too - the error is the same ("Reserved Error")...
Attached Files
File Type: zip db3.zip (16.4 KB, 7 views)
__________________
(sz)Tomi
Reply With Quote
  #19 (permalink)  
Old 02-01-04, 11:58
Norberto Norberto is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 465
With this change in Access 97 work very fine.
I only change the Me.Requery for Forms![doklad_rezivo]![doklad_rezivo_riadok].Requery
I send your sample base with the Update.
Attached Files
File Type: zip db3.zip (35.9 KB, 25 views)
__________________
Saludos
Norberto
Reply With Quote
  #20 (permalink)  
Old 02-05-12, 15:44
andonovj andonovj is offline
Registered User
 
Join Date: Feb 2012
Posts: 2
Unable to requery SubForm

Hello Guys,
I am Oracle Database administrator, however i am unable to administrate access database .
All i want is to SELECE (FNAME, SNAME, LNAME and EGN) in the SubForm based on that script:

SELECT Students.FName, Students.SName, Students.LName, Students.EGN
FROM T1_Specialnost INNER JOIN (T1_Period INNER JOIN (T1_Groups INNER JOIN Students ON T1_Groups.Group_ID = Students.Group_ID) ON T1_Period.Period_ID = Students.Period_ID) ON T1_Specialnost.Spec_ID = Students.Spec_ID
WHERE (((T1_Specialnost.SpecName)=[Forms]![Start]![Combo0]) AND ((T1_Groups.GroupName)=[Forms]![Start]![Combo2]) AND ((T1_Period.PeriodDate)<=[Forms]![Start]![Combo6]));

However it seems that, i am unable to requery to subform even when your comments.
Could you please help me please ?
Attached Files
File Type: zip Database1.zip (108.2 KB, 1 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On