Icecold Posted June 19, 2003 Posted June 19, 2003 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
Recommended Posts
This topic is 7828 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now