I have developed a database for a hospital in Access 2003 that I have upsized only the tables. Some portions of it run smoothly but there some parts that do not.
The major problems until now are the following:
1. I am using true or false as boolean expression, but I have noticed that the SQL tables have turned true into YES and false into NO. Also when I click on the field table Yes becomes -1 and false becomes 0. How can I test use the following assignment:
srec.fields("CurrentBed") = True
also how do I test for a condition if it is true;
2. I have a query that while in Access was working fine now it returns no records. This query used this expression to provide all patients with the selected surname. What I am using is :
Like "*"&[Forms]![frmCurrentBed]![tect14]& "*"
Is this wrong? What can I use instead? Keep in mind that I have upsized only the tables and all the rest are local to each PC.
The same happens in a delete query where I have the expression forms!frmCurrentBed!BedID that returns no records. This worked OK with Access. What is the problem? Please help as I need to solve this asap.
I cannot thank enough anyone that can help me.
Thanks
Stalo
3.
The major problems until now are the following:
1. I am using true or false as boolean expression, but I have noticed that the SQL tables have turned true into YES and false into NO. Also when I click on the field table Yes becomes -1 and false becomes 0. How can I test use the following assignment:
srec.fields("CurrentBed") = True
also how do I test for a condition if it is true;
2. I have a query that while in Access was working fine now it returns no records. This query used this expression to provide all patients with the selected surname. What I am using is :
Like "*"&[Forms]![frmCurrentBed]![tect14]& "*"
Is this wrong? What can I use instead? Keep in mind that I have upsized only the tables and all the rest are local to each PC.
The same happens in a delete query where I have the expression forms!frmCurrentBed!BedID that returns no records. This worked OK with Access. What is the problem? Please help as I need to solve this asap.
I cannot thank enough anyone that can help me.
Thanks
Stalo
3.