ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 12-13-2015
Long Tang
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default problem with database

hi,
i use the flexsim connected to the oracle database successfuly.but something was wrong when i read the value of the specified row and col.as the picture 1 shows,i write the code in flexsim to get the number of row 1 col 1,however the number that the model returns is not the number of row 1 col 1.the number of row 1 col 1 is 250022?but the model returns 250347,this is the number of row 169 col 1.Why is there such a situation?

Long Tang
Attached Thumbnails
Click image for larger version
Name:	QQ截图20151213222317.jpg
Views:	305
Size:	203.9 KB
ID:	3129   Click image for larger version
Name:	QQ截图20151213222423.jpg
Views:	326
Size:	80.4 KB
ID:	3130   Click image for larger version
Name:	QQ截图20151213222808.jpg
Views:	274
Size:	189.8 KB
ID:	3131   Click image for larger version
Name:	QQ截图20151213222746.jpg
Views:	259
Size:	216.9 KB
ID:	3132  
  #2  
Old 12-15-2015
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Can you try bringing in the table into Excel and check the order there ?

If those screenshots are views of the table they may be ordered somehow differently to the raw data table 'BA_SHOP'.

Last edited by Jason Lightfoot; 12-15-2015 at 09:05 AM.


Thread Thread Starter Forum Replies Last Post
Database backend best practice Vadim Fooks Q&A 1 12-13-2012 11:33 AM
Connecting to a database naren nataraj Q&A 3 09-11-2012 06:21 AM
Database Stored Procedures AJ Bobo Tips and Tricks 0 11-04-2010 03:09 PM
advise on using database operation David Chan Q&A 2 09-27-2010 03:38 AM
Sample Access Database Brandon Peterson Tips and Tricks 1 07-09-2008 12:15 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.