June 19, 200322 yr I am trying to query my filemaker 5 database. The database is called testdb. The plug-ins for Local data access comp and remote data acces comp are checked. My fields in my database are as so ID_NUM NAME LAST COMPANY DATE MISC dim cursor as databasecursor cursor=testdb.sqlselect ("select * from tempdb where ID_NUM='"+editfield1+"'") If cursor <> nil then editfield2.text=cursor.field("NAME").getstring editfield3.text=cursor.field("LAST").getstring editfield4.text=cursor.field("COMPANY").getstring else msgbox "Record not found" end if What's wrong with the code It is written in Realbasic 5. I want to use rb with a filemaker database. I am entering an Id num into a editfield and hitting a pushbutton. I am just trying to query the database with the info in editfield1 and getting the results in the other editfields. Can someone please check the code and tell me what I am doing wrong. Thank you in advance
Create an account or sign in to comment