Jump to content
Developer Wiki and Function Reference Links ×

Database Cells Not Working (SOLVED)


Recommended Posts

Hey all,

Attempting to do a script loading a string into a database row. It's worked in the past perfectly but now there's an issue. The script runs fine, it loads the string into the row but it doesn't do the lookup. When you right click on the row in question and click Edit Criteria it brings up the lookup box with the correct criteria and when you click ok the row refreshes and looks up correctly.

Here's the formula:

Criteria:=concat('=DATABASE((''Lighting Device''.''Circuit'')=''',RDSTR,num2Str(0,RDVAL),'/',num2Str(0,STNUM+(INCVAL/2)),''')');

SetWSCellFormula(WSH,STNUM+INCVAL+2,0,STNUM+INCVAL+2,0,Criteria);

I'm doing 50 different rows in this table and none of them are refreshing until I click on them and edit the criteria.

Anyone encountered this before??

I'll post a youtube vid demonstrating if noone understands my description.

Cheers,

J

Edited by James Russell
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...